﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NAligner;
using NAligner.formats;

namespace SmithWatermanTest
{
    class Program
    {
        static void Main(string[] args)
        {
            //Sequence s1 = new Sequence();
            //s1.AAList = "AGSHSVBDEXCFW";
            //Sequence s2 = new Sequence();

            //s2.AAList = "AHEW";
          
            //Alignment alignment = SmithWatermanGotoh.Align(s1, s2, Matrix.Load("BLOSUM50"), 8f, 0f);
            //try
            //{
            //    //Console.WriteLine(alignment.Summary);
            //    Console.WriteLine(alignment.Similarity);
            //    Console.WriteLine(alignment.Gaps);

            //}
            //catch (NotImplementedException ex)
            //{
            //    Console.WriteLine(ex.StackTrace);
            //}
            //Console.WriteLine(new Pair().Format(alignment));
///////***********************************************************************************************//////////////

            Person p1 = new Person();
            p1.Age = 10;

            Person p2 = new Person();
            p2.Age = 20;

            Person p3 = new Person();
            p3.Age = 15;

            Person p4 = new Person();
            p4.Age = 17;


            List<Person> l = new List<Person>();

            l.Add(p1);
            l.Add(p2);
            l.Add(p3);
            l.Add(p4);

            l.Sort();
//////******************************************************************************************************////////////////////////
          //  string s = "jvj/kb/hjj.wav";

          //string [] sArray=  s.Split('/');


        }
    }
}
